Component({
  /**
   * 组件的属性列表
   */
  properties: {
    bindData: {
      type: Object,
      value: {
        title: "T",
        holder: "",
        key: "",
        value: "",
        isRequired: true,
        isEnable: true
      },
      observer: function (newVal, oldVal) { }
    },
    index: {
      type: String,
      value: "0",
      observer: function (newVal, oldVal) { }
    },
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    valueChange: function (e) {
      //console.log(e);
      var myEventDetail = {
        key: this.data.bindData.key
      }
      myEventDetail.val = e.detail.value;
      this.triggerEvent('inputBarValue', myEventDetail);
    },
  }
});